package com.UnionPayCenter.entity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: UnionPayCenter
 * @description: 白名单
 * @author BaoJF
 * @date: 2019-05-13
 *
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Table(name = "whitelist")
public class WhiteListEntity extends BaseEntity {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "编号")
    @Column(name = "wl_id")
    private Integer wlId;

    @Column(name = "mobile")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    @Column(name = "shop_id")
    @ApiModelProperty(value = "对应店铺id")
    private Integer shopId;

}
